package xhwl.insurance.http.bean;

import java.util.Collection;

public class ImageEvent {
	private int fromType;

	public ImageEvent(){}
	public ImageEvent(int fromType,Collection<ImageItem> collection){
		this.fromType=fromType;
		this.collection = collection;
	}
	public boolean isSendImageEvent(){
		return fromType==1;
	}
	Collection<ImageItem> collection;

	public Collection<ImageItem> getCollection() {
		return collection;
	}

	public ImageEvent(Collection<ImageItem> collection) {
		this.collection = collection;
	}

}
